<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.io.vfs.FileFolder</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.io.vfs.FileFolder";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.io.vfs.FileFolder.html" class="symbol">tango.io.vfs.FileFolder</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Oct 2007: Initial version
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="FileFolder" href="./htmlsrc/tango.io.vfs.FileFolder.html#L35" kind="class" beg="35" end="306">FileFolder</a> : VfsFolder; <a title="Permalink to this symbol" href="#FileFolder" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L35">#</a></dt>
<dd class="ddef">
<div class="summary">Represents a physical folder in a file system. Use one of these
        to address specific paths (sub-trees) within the file system.</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="FileFolder.this" href="./htmlsrc/tango.io.vfs.FileFolder.html#L49" kind="ctor" beg="49" end="52">this</a><span class="params">(char[] <em>path</em>, bool <em>create</em> = false)</span>; <a title="Permalink to this symbol" href="#FileFolder.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L49">#</a></dt>
<dd class="ddef">
<div class="summary">Create a file folder with the given path.</div>
Option 'create' will create the path when set true, 
                or reference an existing path otherwise</dd>
<dt class="decl"><a class="symbol _ctor" name="FileFolder.this:2" href="./htmlsrc/tango.io.vfs.FileFolder.html#L60" kind="ctor" beg="60" end="63">this</a><span class="params">(char[] <em>path</em>, char[] <em>name</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L60">#</a></dt>
<dd class="ddef">
<div class="summary">create a FileFolder as a Group member</div></dd>
<dt class="decl"><a class="symbol _ctor" name="FileFolder.this:3" href="./htmlsrc/tango.io.vfs.FileFolder.html#L71" kind="ctor" beg="71" end="75">this</a><span class="params">(FileFolder <em>parent</em>, char[] <em>name</em>, bool <em>create</em> = false)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.this:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L71">#</a></dt>
<dd class="ddef">
<div class="summary">explicitly create() or open() a named folder</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="FileFolder.name" href="./htmlsrc/tango.io.vfs.FileFolder.html#L83" kind="function" beg="83" end="86">name</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.name" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L83">#</a></dt>
<dd class="ddef">
<div class="summary">Return a short name</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="FileFolder.toString" href="./htmlsrc/tango.io.vfs.FileFolder.html#L94" kind="function" beg="94" end="97">toString</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.toString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L94">#</a></dt>
<dd class="ddef">
<div class="summary">Return a long name</div></dd>
<dt class="decl">void <a class="symbol _function" name="FileFolder.verify" href="./htmlsrc/tango.io.vfs.FileFolder.html#L109" kind="function" beg="109" end="123">verify</a><span class="params">(VfsFolder <em>folder</em>, bool <em>mounting</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.verify" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L109">#</a></dt>
<dd class="ddef">
<div class="summary">A folder is being added or removed from the hierarchy. Use 
                this to test for validity (or whatever) and throw exceptions 
                as necessary</div>
Here we test for folder overlap, and bail-out when found.</dd>
<dt class="decl">VfsFile <a class="symbol _function" name="FileFolder.file" href="./htmlsrc/tango.io.vfs.FileFolder.html#L131" kind="function" beg="131" end="134">file</a><span class="params">(char[] <em>name</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.file" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L131">#</a></dt>
<dd class="ddef">
<div class="summary">Return a contained file representation</div></dd>
<dt class="decl">VfsFolderEntry <a class="symbol _function" name="FileFolder.folder" href="./htmlsrc/tango.io.vfs.FileFolder.html#L142" kind="function" beg="142" end="145">folder</a><span class="params">(char[] <em>path</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.folder" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L142">#</a></dt>
<dd class="ddef">
<div class="summary">Return a contained folder representation</div></dd>
<dt class="decl">VfsFolder <a class="symbol _function" name="FileFolder.clear" href="./htmlsrc/tango.io.vfs.FileFolder.html#L153" kind="function" beg="153" end="157">clear</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.clear" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L153">#</a></dt>
<dd class="ddef">
<div class="summary">Remove the folder subtree</div></dd>
<dt class="decl">bool <a class="symbol _function" name="FileFolder.writable" href="./htmlsrc/tango.io.vfs.FileFolder.html#L165" kind="function" beg="165" end="168">writable</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.writable" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L165">#</a></dt>
<dd class="ddef">
<div class="summary">Is folder writable?</div></dd>
<dt class="decl">VfsFolders <a class="symbol _function" name="FileFolder.self" href="./htmlsrc/tango.io.vfs.FileFolder.html#L176" kind="function" beg="176" end="179">self</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.self" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L176">#</a></dt>
<dd class="ddef">
<div class="summary">Returns content information about this folder</div></dd>
<dt class="decl">VfsFolders <a class="symbol _function" name="FileFolder.tree" href="./htmlsrc/tango.io.vfs.FileFolder.html#L187" kind="function" beg="187" end="190">tree</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.tree" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L187">#</a></dt>
<dd class="ddef">
<div class="summary">Returns a subtree of folders matching the given name</div></dd>
<dt class="decl">int <a class="symbol _function" name="FileFolder.opApply" href="./htmlsrc/tango.io.vfs.FileFolder.html#L199" kind="function" beg="199" end="210">opApply</a><span class="params">(int delegate(inout VfsFolder) <em>dg</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.opApply" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L199">#</a></dt>
<dd class="ddef">
<div class="summary">Iterate over the set of immediate child folders. This is 
                useful for reflecting the hierarchy</div></dd>
<dt class="decl">VfsFolder <a class="symbol _function" name="FileFolder.close" href="./htmlsrc/tango.io.vfs.FileFolder.html#L221" kind="function" beg="221" end="224">close</a><span class="params">(bool <em>commit</em> = true)</span>; <a title="Permalink to this symbol" href="#FileFolder.close" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L221">#</a></dt>
<dd class="ddef">
<div class="summary">Close and/or synchronize changes made to this folder. Each
                driver should take advantage of this as appropriate, perhaps
                combining multiple files together, or possibly copying to a 
                remote location</div></dd>
<dt class="decl">FileFolder[] <a class="symbol _function" name="FileFolder.folders" href="./htmlsrc/tango.io.vfs.FileFolder.html#L232" kind="function" beg="232" end="251">folders</a><span class="params">(bool <em>collect</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.folders" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L232">#</a></dt>
<dd class="ddef">
<div class="summary">Sweep owned folders</div></dd>
<dt class="decl">char[][] <a class="symbol _function" name="FileFolder.files" href="./htmlsrc/tango.io.vfs.FileFolder.html#L259" kind="function" beg="259" end="273">files</a><span class="params">(ref VfsStats <em>stats</em>, VfsFilter <em>filter</em> = null)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.files" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L259">#</a></dt>
<dd class="ddef">
<div class="summary">Sweep owned files</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="FileFolder.error" href="./htmlsrc/tango.io.vfs.FileFolder.html#L281" kind="function" beg="281" end="284">error</a><span class="params">(char[] <em>msg</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.error" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L281">#</a></dt>
<dd class="ddef">
<div class="summary">Throw an exception</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="FileFolder.open" href="./htmlsrc/tango.io.vfs.FileFolder.html#L292" kind="function" beg="292" end="305">open</a><span class="params">(char[] <em>path</em>, bool <em>create</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FileFolder.open" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L292">#</a></dt>
<dd class="ddef">
<div class="summary">Create or open the given path, and detect path errors</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="FileGroup" href="./htmlsrc/tango.io.vfs.FileFolder.html#L316" kind="class" beg="316" end="373">FileGroup</a> : VfsFiles; <a title="Permalink to this symbol" href="#FileGroup" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L316">#</a></dt>
<dd class="ddef">
<div class="summary">Represents a group of files (need this declared here to avoid
        a bunch of bizarre compiler warnings)</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="FileGroup.this" href="./htmlsrc/tango.io.vfs.FileFolder.html#L325" kind="ctor" beg="325" end="329">this</a><span class="params">(FolderGroup <em>host</em>, VfsFilter <em>filter</em>)</span>; <a title="Permalink to this symbol" href="#FileGroup.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L325">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd>
<dt class="decl">int <a class="symbol _function" name="FileGroup.opApply" href="./htmlsrc/tango.io.vfs.FileFolder.html#L337" kind="function" beg="337" end="350">opApply</a><span class="params">(int delegate(inout VfsFile) <em>dg</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileGroup.opApply" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L337">#</a></dt>
<dd class="ddef">
<div class="summary">Iterate over the set of contained VfsFile instances</div></dd>
<dt class="decl">uint <a class="symbol _function" name="FileGroup.files" href="./htmlsrc/tango.io.vfs.FileFolder.html#L358" kind="function" beg="358" end="361">files</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileGroup.files" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L358">#</a></dt>
<dd class="ddef">
<div class="summary">Return the total number of entries</div></dd>
<dt class="decl">ulong <a class="symbol _function" name="FileGroup.bytes" href="./htmlsrc/tango.io.vfs.FileFolder.html#L369" kind="function" beg="369" end="372">bytes</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileGroup.bytes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L369">#</a></dt>
<dd class="ddef">
<div class="summary">Return the total size of all files</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="FolderGroup" href="./htmlsrc/tango.io.vfs.FileFolder.html#L385" kind="class" beg="385" end="537">FolderGroup</a> : VfsFolders; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L385">#</a></dt>
<dd class="ddef">
<div class="summary">A set of folders representing a selection. This is where file 
        selection is made, and pattern-matched folder subsets can be
        extracted. You need one of these to expose statistics (such as
        file or folder count) of a selected folder group</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="FolderGroup.this" href="./htmlsrc/tango.io.vfs.FileFolder.html#L395" kind="ctor" beg="395" end="395">this</a><span class="params">()</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L395">#</a></dt>
<dd class="ddef">
<div class="summary">Create a subset group</div></dd>
<dt class="decl"><a class="symbol _ctor" name="FolderGroup.this:2" href="./htmlsrc/tango.io.vfs.FileFolder.html#L404" kind="ctor" beg="404" end="407">this</a><span class="params">(FileFolder <em>root</em>, bool <em>recurse</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L404">#</a></dt>
<dd class="ddef">
<div class="summary">Create a folder group including the provided folder and
                (optionally) all child folders</div></dd>
<dt class="decl">int <a class="symbol _function" name="FolderGroup.opApply" href="./htmlsrc/tango.io.vfs.FileFolder.html#L415" kind="function" beg="415" end="426">opApply</a><span class="params">(int delegate(inout VfsFolder) <em>dg</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.opApply" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L415">#</a></dt>
<dd class="ddef">
<div class="summary">Iterate over the set of contained VfsFolder instances</div></dd>
<dt class="decl">uint <a class="symbol _function" name="FolderGroup.files" href="./htmlsrc/tango.io.vfs.FileFolder.html#L434" kind="function" beg="434" end="440">files</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.files" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L434">#</a></dt>
<dd class="ddef">
<div class="summary">Return the number of files in this group</div></dd>
<dt class="decl">ulong <a class="symbol _function" name="FolderGroup.bytes" href="./htmlsrc/tango.io.vfs.FileFolder.html#L448" kind="function" beg="448" end="455">bytes</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.bytes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L448">#</a></dt>
<dd class="ddef">
<div class="summary">Return the total size of all files in this group</div></dd>
<dt class="decl">uint <a class="symbol _function" name="FolderGroup.folders" href="./htmlsrc/tango.io.vfs.FileFolder.html#L463" kind="function" beg="463" end="466">folders</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.folders" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L463">#</a></dt>
<dd class="ddef">
<div class="summary">Return the number of folders in this group</div></dd>
<dt class="decl">uint <a class="symbol _function" name="FolderGroup.entries" href="./htmlsrc/tango.io.vfs.FileFolder.html#L474" kind="function" beg="474" end="477">entries</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.entries" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L474">#</a></dt>
<dd class="ddef">
<div class="summary">Return the total number of entries in this group</div></dd>
<dt class="decl">VfsFolders <a class="symbol _function" name="FolderGroup.subset" href="./htmlsrc/tango.io.vfs.FileFolder.html#L485" kind="function" beg="485" end="494">subset</a><span class="params">(char[] <em>pattern</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.subset" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L485">#</a></dt>
<dd class="ddef">
<div class="summary">Return a subset of folders matching the given pattern</div></dd>
<dt class="decl">FileGroup <a class="symbol _function" name="FolderGroup.catalog" href="./htmlsrc/tango.io.vfs.FileFolder.html#L502" kind="function" beg="502" end="510">catalog</a><span class="params">(char[] <em>pattern</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.catalog" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L502">#</a></dt>
<dd class="ddef">
<div class="summary">Return a set of files matching the given pattern</div></dd>
<dt class="decl">FileGroup <a class="symbol _function" name="FolderGroup.catalog:2" href="./htmlsrc/tango.io.vfs.FileFolder.html#L518" kind="function" beg="518" end="521">catalog</a><span class="params">(VfsFilter <em>filter</em> = null)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.catalog:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L518">#</a></dt>
<dd class="ddef">
<div class="summary">Returns a set of files conforming to the given filter</div></dd>
<dt class="decl">FileFolder[] <a class="symbol _function" name="FolderGroup.scan" href="./htmlsrc/tango.io.vfs.FileFolder.html#L529" kind="function" beg="529" end="536">scan</a><span class="params">(FileFolder <em>root</em>, bool <em>recurse</em>)</span>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderGroup.scan" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L529">#</a></dt>
<dd class="ddef">
<div class="summary">Internal routine to traverse the folder tree</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="FolderHost" href="./htmlsrc/tango.io.vfs.FileFolder.html#L547" kind="class" beg="547" end="594">FolderHost</a> : VfsFolderEntry; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FolderHost" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L547">#</a></dt>
<dd class="ddef">
<div class="summary">A host for folders, currently used to harbor create() and open() 
        methods only</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="FolderHost.this" href="./htmlsrc/tango.io.vfs.FileFolder.html#L556" kind="ctor" beg="556" end="560">this</a><span class="params">(FileFolder <em>parent</em>, char[] <em>path</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FolderHost.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L556">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd>
<dt class="decl">VfsFolder <a class="symbol _function" name="FolderHost.create" href="./htmlsrc/tango.io.vfs.FileFolder.html#L566" kind="function" beg="566" end="569">create</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderHost.create" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L566">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd>
<dt class="decl">VfsFolder <a class="symbol _function" name="FolderHost.open" href="./htmlsrc/tango.io.vfs.FileFolder.html#L575" kind="function" beg="575" end="578">open</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FolderHost.open" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L575">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd>
<dt class="decl">bool <a class="symbol _function" name="FolderHost.exists" href="./htmlsrc/tango.io.vfs.FileFolder.html#L586" kind="function" beg="586" end="593">exists</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#FolderHost.exists" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L586">#</a></dt>
<dd class="ddef">
<div class="summary">Test to see if a folder exists</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="FileHost" href="./htmlsrc/tango.io.vfs.FileFolder.html#L603" kind="class" beg="603" end="756">FileHost</a> : VfsFile; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#FileHost" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L603">#</a></dt>
<dd class="ddef">
<div class="summary">Represents things you can do with a file</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="FileHost.this" href="./htmlsrc/tango.io.vfs.FileFolder.html#L611" kind="ctor" beg="611" end="614">this</a><span class="params">(char[] <em>path</em> = null)</span>; <a title="Permalink to this symbol" href="#FileHost.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L611">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd>
<dt class="decl">char[] <a class="symbol _function" name="FileHost.name" href="./htmlsrc/tango.io.vfs.FileFolder.html#L622" kind="function" beg="622" end="625">name</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.name" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L622">#</a></dt>
<dd class="ddef">
<div class="summary">Return a short name</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="FileHost.toString" href="./htmlsrc/tango.io.vfs.FileFolder.html#L633" kind="function" beg="633" end="636">toString</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.toString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L633">#</a></dt>
<dd class="ddef">
<div class="summary">Return a long name</div></dd>
<dt class="decl">bool <a class="symbol _function" name="FileHost.exists" href="./htmlsrc/tango.io.vfs.FileFolder.html#L644" kind="function" beg="644" end="647">exists</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.exists" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L644">#</a></dt>
<dd class="ddef">
<div class="summary">Does this file exist?</div></dd>
<dt class="decl">ulong <a class="symbol _function" name="FileHost.size" href="./htmlsrc/tango.io.vfs.FileFolder.html#L655" kind="function" beg="655" end="658">size</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.size" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L655">#</a></dt>
<dd class="ddef">
<div class="summary">Return the file size</div></dd>
<dt class="decl">VfsFile <a class="symbol _function" name="FileHost.create" href="./htmlsrc/tango.io.vfs.FileFolder.html#L666" kind="function" beg="666" end="670">create</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.create" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L666">#</a></dt>
<dd class="ddef">
<div class="summary">Create a new file instance</div></dd>
<dt class="decl">VfsFile <a class="symbol _function" name="FileHost.create:2" href="./htmlsrc/tango.io.vfs.FileFolder.html#L678" kind="function" beg="678" end="682">create</a><span class="params">(InputStream <em>input</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.create:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L678">#</a></dt>
<dd class="ddef">
<div class="summary">Create a new file instance and populate with stream</div></dd>
<dt class="decl">VfsFile <a class="symbol _function" name="FileHost.copy" href="./htmlsrc/tango.io.vfs.FileFolder.html#L690" kind="function" beg="690" end="695">copy</a><span class="params">(VfsFile <em>source</em>)</span>; <a title="Permalink to this symbol" href="#FileHost.copy" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L690">#</a></dt>
<dd class="ddef">
<div class="summary">Create and copy the given source</div></dd>
<dt class="decl">VfsFile <a class="symbol _function" name="FileHost.move" href="./htmlsrc/tango.io.vfs.FileFolder.html#L703" kind="function" beg="703" end="708">move</a><span class="params">(VfsFile <em>source</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.move" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L703">#</a></dt>
<dd class="ddef">
<div class="summary">Create and copy the given source, and remove the source</div></dd>
<dt class="decl">InputStream <a class="symbol _function" name="FileHost.input" href="./htmlsrc/tango.io.vfs.FileFolder.html#L716" kind="function" beg="716" end="719">input</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.input" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L716">#</a></dt>
<dd class="ddef">
<div class="summary">Return the input stream. Don't forget to close it</div></dd>
<dt class="decl">OutputStream <a class="symbol _function" name="FileHost.output" href="./htmlsrc/tango.io.vfs.FileFolder.html#L727" kind="function" beg="727" end="730">output</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.output" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L727">#</a></dt>
<dd class="ddef">
<div class="summary">Return the output stream. Don't forget to close it</div></dd>
<dt class="decl">VfsFile <a class="symbol _function" name="FileHost.remove" href="./htmlsrc/tango.io.vfs.FileFolder.html#L738" kind="function" beg="738" end="742">remove</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.remove" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L738">#</a></dt>
<dd class="ddef">
<div class="summary">Remove this file</div></dd>
<dt class="decl">VfsFile <a class="symbol _function" name="FileHost.dup" href="./htmlsrc/tango.io.vfs.FileFolder.html#L750" kind="function" beg="750" end="755">dup</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#FileHost.dup" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.vfs.FileFolder.html#L750">#</a></dt>
<dd class="ddef">
<div class="summary">Duplicate this entry</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2007 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:01 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>